var directive_path = './common/directives/';
var filter_path = './common/filters/';
var service_path = './common/services/';
var ctrl_path = './components/'
carray = function(name) {
    var arr = [];
    arr.push(ctrl_path + name + '/' + name + '.js', ctrl_path + name + '/' + name + '.css');
    return arr;
}
app.constant('JS_REQUIRES', {
    scripts: {

    },
    modules: [
        // 登录
        {
            name: 'tabCtrl',
            files: carray('tabCtrl')
        }, {
            name: 'dash',
            files: carray('dash')
        }, {
            name: 'account',
            files: carray('account')
        }, {
            name: 'chats',
            files: carray('chats')
        }, {
            name: 'detail',
            files: carray('detail')
        },{
            name: 'Chat',
            files: [service_path + 'Chat.js']
        }
    ]
});